package com.villaday.idf.model;

import java.util.List;

/**
 * Created by tudou on 2018/9/3.
 */

public class SimilarListEntity {


    /**
     * code : 200
     * status : success
     * msg : success
     * body : {"dataList":[{"brokerAge":0,"currentPrice":68000,"description":"海景公寓，感受\u201c面朝大海，春暖花开\u201d的绝妙感受","id":"BnWwgP1WaJ","imageURL":"http://betares.villago.cn/images/house_102/20582/20582-10-81614.jpg?x-oss-process=image/resize,m_mfit,w_1220,h_640,limit_0/sharpen,100","location":{"city":"惠州","country":"中国","latitude":22.78324,"longitude":114.75827,"province":"广东","type":1},"name":"莱蒙香汀豪华海景套房","originalPrice":68000},{"brokerAge":0,"currentPrice":72000,"description":"无敌海景，开阔的视野，整洁舒适的室内环境","id":"1wypDqOyJe","imageURL":"http://betares.villago.cn/images/house_192/23744/23744-10-95434.jpg?x-oss-process=image/resize,m_mfit,w_1220,h_640,limit_0/sharpen,100","location":{"city":"惠州","country":"中国","latitude":22.790243,"longitude":114.77372,"province":"广东","type":1},"name":"幸福驿站公寓·豪华海景家庭套房","originalPrice":72000},{"brokerAge":0,"currentPrice":33000,"description":"全自动麻将机、厨房、空调、WiFi","id":"zLmnKYBy24","imageURL":"http://betares.villago.cn/images/house_277/30997/30997-10-187138.jpg?x-oss-process=image/resize,m_mfit,w_1220,h_640,limit_0/sharpen,100","location":{"city":"惠州","country":"中国","latitude":22.790243,"longitude":114.77372,"province":"广东","type":1},"name":"惠州融创海湾半岛·一线海景公寓","originalPrice":33000}],"endIndex":3,"first":0,"hasNext":true,"hasPrev":false,"needData":true,"needTotalCount":true,"nextPage":2,"orderBySetted":false,"pageNo":1,"pageSize":3,"prevPage":1,"startIndex":0,"totalCount":9712,"totalPages":3238}
     */

    private String code;
    private String status;
    private String msg;
    private BodyEntity body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public BodyEntity getBody() {
        return body;
    }

    public void setBody(BodyEntity body) {
        this.body = body;
    }

    public static class BodyEntity {
        /**
         * dataList : [{"brokerAge":0,"currentPrice":68000,"description":"海景公寓，感受\u201c面朝大海，春暖花开\u201d的绝妙感受","id":"BnWwgP1WaJ","imageURL":"http://betares.villago.cn/images/house_102/20582/20582-10-81614.jpg?x-oss-process=image/resize,m_mfit,w_1220,h_640,limit_0/sharpen,100","location":{"city":"惠州","country":"中国","latitude":22.78324,"longitude":114.75827,"province":"广东","type":1},"name":"莱蒙香汀豪华海景套房","originalPrice":68000},{"brokerAge":0,"currentPrice":72000,"description":"无敌海景，开阔的视野，整洁舒适的室内环境","id":"1wypDqOyJe","imageURL":"http://betares.villago.cn/images/house_192/23744/23744-10-95434.jpg?x-oss-process=image/resize,m_mfit,w_1220,h_640,limit_0/sharpen,100","location":{"city":"惠州","country":"中国","latitude":22.790243,"longitude":114.77372,"province":"广东","type":1},"name":"幸福驿站公寓·豪华海景家庭套房","originalPrice":72000},{"brokerAge":0,"currentPrice":33000,"description":"全自动麻将机、厨房、空调、WiFi","id":"zLmnKYBy24","imageURL":"http://betares.villago.cn/images/house_277/30997/30997-10-187138.jpg?x-oss-process=image/resize,m_mfit,w_1220,h_640,limit_0/sharpen,100","location":{"city":"惠州","country":"中国","latitude":22.790243,"longitude":114.77372,"province":"广东","type":1},"name":"惠州融创海湾半岛·一线海景公寓","originalPrice":33000}]
         * endIndex : 3
         * first : 0
         * hasNext : true
         * hasPrev : false
         * needData : true
         * needTotalCount : true
         * nextPage : 2
         * orderBySetted : false
         * pageNo : 1
         * pageSize : 3
         * prevPage : 1
         * startIndex : 0
         * totalCount : 9712
         * totalPages : 3238
         */

        private int endIndex;
        private int first;
        private boolean hasNext;
        private boolean hasPrev;
        private boolean needData;
        private boolean needTotalCount;
        private int nextPage;
        private boolean orderBySetted;
        private int pageNo;
        private int pageSize;
        private int prevPage;
        private int startIndex;
        private int totalCount;
        private int totalPages;
        private List<DataListEntity> dataList;

        public int getEndIndex() {
            return endIndex;
        }

        public void setEndIndex(int endIndex) {
            this.endIndex = endIndex;
        }

        public int getFirst() {
            return first;
        }

        public void setFirst(int first) {
            this.first = first;
        }

        public boolean isHasNext() {
            return hasNext;
        }

        public void setHasNext(boolean hasNext) {
            this.hasNext = hasNext;
        }

        public boolean isHasPrev() {
            return hasPrev;
        }

        public void setHasPrev(boolean hasPrev) {
            this.hasPrev = hasPrev;
        }

        public boolean isNeedData() {
            return needData;
        }

        public void setNeedData(boolean needData) {
            this.needData = needData;
        }

        public boolean isNeedTotalCount() {
            return needTotalCount;
        }

        public void setNeedTotalCount(boolean needTotalCount) {
            this.needTotalCount = needTotalCount;
        }

        public int getNextPage() {
            return nextPage;
        }

        public void setNextPage(int nextPage) {
            this.nextPage = nextPage;
        }

        public boolean isOrderBySetted() {
            return orderBySetted;
        }

        public void setOrderBySetted(boolean orderBySetted) {
            this.orderBySetted = orderBySetted;
        }

        public int getPageNo() {
            return pageNo;
        }

        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getPrevPage() {
            return prevPage;
        }

        public void setPrevPage(int prevPage) {
            this.prevPage = prevPage;
        }

        public int getStartIndex() {
            return startIndex;
        }

        public void setStartIndex(int startIndex) {
            this.startIndex = startIndex;
        }

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public int getTotalPages() {
            return totalPages;
        }

        public void setTotalPages(int totalPages) {
            this.totalPages = totalPages;
        }

        public List<DataListEntity> getDataList() {
            return dataList;
        }

        public void setDataList(List<DataListEntity> dataList) {
            this.dataList = dataList;
        }

        public static class DataListEntity {
            /**
             * brokerAge : 0
             * currentPrice : 68000
             * description : 海景公寓，感受“面朝大海，春暖花开”的绝妙感受
             * id : BnWwgP1WaJ
             * imageURL : http://betares.villago.cn/images/house_102/20582/20582-10-81614.jpg?x-oss-process=image/resize,m_mfit,w_1220,h_640,limit_0/sharpen,100
             * location : {"city":"惠州","country":"中国","latitude":22.78324,"longitude":114.75827,"province":"广东","type":1}
             * name : 莱蒙香汀豪华海景套房
             * originalPrice : 68000
             */

            private int brokerAge;
            private int currentPrice;
            private String description;
            private String id;
            private String imageURL;
            private LocationEntity location;
            private String name;
            private int originalPrice;

            public int getBrokerAge() {
                return brokerAge;
            }

            public void setBrokerAge(int brokerAge) {
                this.brokerAge = brokerAge;
            }

            public int getCurrentPrice() {
                return currentPrice;
            }

            public void setCurrentPrice(int currentPrice) {
                this.currentPrice = currentPrice;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getImageURL() {
                return imageURL;
            }

            public void setImageURL(String imageURL) {
                this.imageURL = imageURL;
            }

            public LocationEntity getLocation() {
                return location;
            }

            public void setLocation(LocationEntity location) {
                this.location = location;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getOriginalPrice() {
                return originalPrice;
            }

            public void setOriginalPrice(int originalPrice) {
                this.originalPrice = originalPrice;
            }

            public static class LocationEntity {
                /**
                 * city : 惠州
                 * country : 中国
                 * latitude : 22.78324
                 * longitude : 114.75827
                 * province : 广东
                 * type : 1
                 */

                private String city;
                private String country;
                private double latitude;
                private double longitude;
                private String province;
                private int type;

                public String getCity() {
                    return city;
                }

                public void setCity(String city) {
                    this.city = city;
                }

                public String getCountry() {
                    return country;
                }

                public void setCountry(String country) {
                    this.country = country;
                }

                public double getLatitude() {
                    return latitude;
                }

                public void setLatitude(double latitude) {
                    this.latitude = latitude;
                }

                public double getLongitude() {
                    return longitude;
                }

                public void setLongitude(double longitude) {
                    this.longitude = longitude;
                }

                public String getProvince() {
                    return province;
                }

                public void setProvince(String province) {
                    this.province = province;
                }

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }
            }
        }
    }
}
